import java.util.Arrays;

/**
 * @author akaovi
 * @version 1.0
 * @description
 * @date 2022/10/10 14:59
 * @since 2022/10/10 14:59
 */
public class StringArraysSort {
    public static void main(String[] args) {
        String[] arr = {"test1", "zhangsan", "lisi", "lisa", "k8s", "mybatis", "aaa"};
        Arrays.sort(arr);
        System.out.println(Arrays.toString(arr));
    }
}
